export default (str) => {
	let preContent = str.substring(5, str.length).split('[[END]]')
	let clearEnd = str.replace(/\[\[END\]\]/g, '')

	return {
		preContent: preContent[0],
		clearEnd
	}
}